package com.bzy.blp.upms.service;

import com.bzy.blp.upms.vo.MainmenuVO;

import java.util.List;

public interface MenuService {

    /**
     * 用户名、appKey查所有菜单栏
     * @param userName
     * @param appKey
     * @return
     * @throws Exception
     */
    List<MainmenuVO> queryMenu(String userName, String appKey) throws Exception;

    /**
     * 用户名、appKey查所有菜单栏根节点
     * @param userName
     * @param appKey
     * @return
     * @throws Exception
     */
    List<MainmenuVO> queryMenuNew(String userName, String appKey) throws Exception;

    /**
     * 用户名、appKey、资源Id查所有菜单栏子节点
     * @param userName
     * @param appKey
     * @param resource_id
     * @return
     * @throws Exception
     */
    List<MainmenuVO> queryMenuNewChlid(String userName, String appKey, String resource_id) throws Exception;


}
